package com.alennus.blog.repository;

import com.alennus.blog.domain.Menu;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * Created by pactera on 2018/5/18.
 */
public interface MenuRepository extends MongoRepository<Menu,String> {


    List<Menu> findByParentId(String parentId);
}
